package com.example.model.schedule.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
@Data
public class TaskDto {
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "任务编号")
    private Long taskId;

    @Schema(description = "任务类型")
    private Integer taskType;

    @Schema(description = "优先级")
    private Integer priority;

    @Schema(description = "执行时间")
    private Date executeTime;

    @Schema(description = "参数")
    private String parameters;
}
